package com.joinway.framework.admin.bean.view;

import org.jsondoc.core.annotation.ApiObject;
import org.jsondoc.core.annotation.ApiObjectField;

import com.joinway.framework.bean.BaseBean;

@ApiObject(name = "LoginRole", description = "登录成功返回结果")
public class LoginRole extends BaseBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@ApiObjectField(description="权限id")
	int roleId;
	
	@ApiObjectField(description="权限名称")
	String roleName;

	@ApiObjectField(description="权限描述")
	String roleDesc;
	
	public String getRoleDesc() {
		return roleDesc;
	}

	public void setRoleDesc(String roleDesc) {
		this.roleDesc = roleDesc;
	}

	public LoginRole(){}
	
	public LoginRole(int roleId, String roleName) {
		this.roleId = roleId;
		this.roleName = roleName;
	}

	public int getRoleId() {
		return roleId;
	}

	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

}
